(function (define) {
    "use strict";

    define([
        'Shush/ui/UIModule',
        '3382/RoutingConf',
        '3382/Page/PageModule'
    ],
        function(ShushUIModule, RoutingConf, PageModule) {
            var app, appName = '3382';

            app = angular.module(
                    appName,
                    [ 'ngRoute', 'ngAnimate', 'ngResource', 'restangular', ShushUIModule, PageModule ])
                    .config(RoutingConf);

            angular.bootstrap(document.getElementsByTagName("body")[0], [ appName ]);

            return app;
        }
    );

}(define));